package com.code.wordhelper.model;

public enum ResultCode {
    SUCCESS("0", "成功"),
    ADD_WATER_ERROR("100001", "添加水印失败"),
    PREVIEW_ERROR("100001", "预览失败"),
    TEMPLATE_ERROR("100001", "模板转换失败");

    private String code;

    private String message;

    ResultCode() {
    }

    ResultCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
